package com.skillworld.webapp.model.course;


import java.util.List;
import java.util.Locale;

import com.skillworld.webapp.model.course.Course.Status;
import com.skillworld.webapp.model.util.dao.GenericDao;

public interface CourseDao extends GenericDao<Course,Long> 
{
    public List<Course> search(List<String> keywords, 
                                Long dept, Locale locale, Long author,
                                Status status,
                                int startIndex, int count);
    
    public long numberOfCourses(List<String> keywords, 
                                Long dept, Locale locale, Long author,
                                Status status);
}
